import numpy as np
import torch.nn as nn
import torch

a = np.mat(np.asarray([[1,2,3]]))
b = np.mat(np.asarray([[2,2,2]])).T
print(a@b)